<?php

class Response
{
    protected $_content = '';

    /**
     * @param string $string
     * @return Response
     */
    public function appendContent($string)
    {
        $this -> _content .= $string;
        return $this;
    }

    /**
     * @param string $string
     * @return Response
     */
    public function prependContent($string)
    {
        $this -> _content = $this -> _content . $string;
        return $this;
    }

    /**
     * @param string $string
     * @return Response
     */
    public function setContent($string)
    {
        $this -> _content = $string;
        return $this;
    }

    /**
     *  @return Response
     */

    public function clearContent()
    {
        $this -> _content = '';
        return $this;
    }

    /**
     * @return string
     */
    public function getContent()
    {
        return $this -> _content;
    }

}
